<?php
header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, GET-check=0, max-age=0');
header('Pragma: no-cache');
header("Content-Type: text/html; charset=UTF-8");
/*-------------------------------------------------------------------------------------*/
define("MCTDESIGN",true);
session_start();
//error_reporting('0');
require_once('./_inc/connect.php');
require_once("_inc/_language.php");
require_once('./_inc/_define.php');
require_once('./_classes/class.paging.php');
require_once('./_inc/functions.php');
require_once('./_inc/modules.php');
require_once('./_classes/_classes.inc.php');
/*smarty*/
$temp = new Smarty_McT();
$temp->smarty_site();
/*-------------------------------------------------------------------------------------*/
$mct = isset($_GET["mct"]) ? m_htmlchars(stripslashes(urldecode($_GET["mct"]))) : "home";
list($mct, $act)=explode(".",$mct); 
/*-------------------------------------------------------------------------------------*/
$dir_tpl = temp_default();
$web_title = get_data('shop_name','config_values');
//Get module
_getModules($mct);
function msg_Error($msg="Error") {
	return "<center><b>$msg</b></center>";
}


?>